package com.fruit.pojo.order;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

/**
 * 
* 类名称：订单
* @version 1.0
 */
public class OrderView {
	
	
	//订单表对应字段
	private long orderId;
	private String orderCode;//订单编号
	private String state; //订单状态:00-未付款;01-已付款;02-待发货;03-待收货;04-已完成;05-已取消;06-申请退款;07-已退款;08-申请退货;09-已退货
	private String stateName;
	private BigDecimal totalPrice;//商品总价
	private String createTime;
	private String type;
	private long version;
	private String refundState;
	private String isRefund;
	private String supplierName;
	private List<OrderGood> orderGoods = new ArrayList<OrderGood>();//商品信息
	
	public long getOrderId() {
		return orderId;
	}
	public void setOrderId(long orderId) {
		this.orderId = orderId;
	}
	public String getOrderCode() {
		return orderCode;
	}
	public void setOrderCode(String orderCode) {
		this.orderCode = orderCode;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public String getStateName() {
		return stateName;
	}
	public void setStateName(String stateName) {
		this.stateName = stateName;
	}
	public BigDecimal getTotalPrice() {
		return totalPrice;
	}
	public void setTotalPrice(BigDecimal totalPrice) {
		this.totalPrice = totalPrice;
	}
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public List<OrderGood> getOrderGoods() {
		return orderGoods;
	}
	public void setOrderGoods(List<OrderGood> orderGoods) {
		this.orderGoods = orderGoods;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public long getVersion() {
		return version;
	}
	public void setVersion(long version) {
		this.version = version;
	}
	public String getRefundState() {
		return refundState;
	}
	public void setRefundState(String refundState) {
		this.refundState = refundState;
	}
	public String getIsRefund() {
		return isRefund;
	}
	public void setIsRefund(String isRefund) {
		this.isRefund = isRefund;
	}
	public String getSupplierName() {
		return supplierName;
	}
	public void setSupplierName(String supplierName) {
		this.supplierName = supplierName;
	}

}
